<?php
/**
 * Created by 项目.
 * User: xuguopeng
 * Date: 6/4/21
 * Time: 12:07 AM
 */

namespace app\api\model;


class UserMoney extends BaseModel
{
    public function order()
    {
        return $this->belongsTo('ProductOrder','order_id','id');
    }


    public function user()
    {
        return $this->belongsTo('User','user_id','id');
    }
}